home *** CD-ROM | disk | FTP | other *** search
/ APDL Eductation Resources / APDL Eductation Resources.iso / programs / graphics / gif2rpc / source / h / calc8x8dit next >
Encoding:
Text File  |  1995-09-17  |  712 b   |  28 lines

  1. /* calc8x8dither.h
  2.  * AUTHOR:      Cy Booker, cy@cheepnis.demon.co.uk
  3.  * LICENSE:     FreeWare, Copyright (c) 1995 Cy Booker
  4.  * PURPOSE:     convert an 8 bit image to a 16 bit image
  5.  */
  6.  
  7. #ifndef calc8x8dither_h
  8. #define calc8x8dither_h
  9.  
  10.  
  11.  
  12. #include "OS:os.h"
  13.  
  14.  
  15.  
  16. /* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  17.  * this calculates the two 32K colour numbers whose ``midpoint intersection'' lies closest
  18.  * to the specified palette entry
  19.  * you can then use these colours as an index into a halftone ``bump'' map
  20.  */
  21.  
  22. extern void calculate_8x8dither(
  23.                 bits            dither[2],
  24.                 os_colour       colour) {
  25.  
  26.  
  27. #endif /* calc8x8dither_h */
  28.